import Vue from 'vue'
import Router from 'vue-router'
const _view = view => require(`@/views/${view}.vue`).default

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'Home',
    component: _view('Home')
  }]
})
